package com.qb.service;

import com.github.pagehelper.PageInfo;
import com.qb.entity.BlogWithTypeAndUname;

import java.util.List;
import java.util.Map;

public interface BlogService {

    //全查
    PageInfo<BlogWithTypeAndUname> findAll(Integer currentPage, Integer pageSize);

    //删除博客
    boolean deleteInfo(Integer bid);

    //详情
    Map<String, Object> findBlogById(Integer bid);
}
